﻿namespace NRank.Examples.Helpers
{
	/// <summary>
	/// Example data class for Hotel
	/// </summary>
	public class Hotel
	{
		/// <summary>
		/// Hotel name
		/// </summary>
		public string Name { get; set; }

		/// <summary>
		/// Hotel stars
		/// </summary>
		public int Stars { get; set; }

		/// <summary>
		/// Hotel location
		/// </summary>
		public string Area { get; set; }

		/// <summary>
		/// String representation of hotel
		/// </summary>
		/// <returns>String representation of hotel</returns>
		public override string ToString()
		{
			return string.Format("{0} ({1} stars)", Name, Stars);
		}
	}
}